home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13103 < prev    next >
Encoding:
Text File  |  1996-08-05  |  852 b   |  29 lines

  1. Newsgroups: comp.lang.c
  2. Path: thor.cf.ac.uk!news
  3. From: Owain <O.Huw@cs.cf.ac.uk>
  4. Subject: Pointer Problems
  5. Sender: news@cf.ac.uk (USENET News System)
  6. Message-ID: <3163BAEB.41C67EA6@cs.cf.ac.uk>
  7. Cc: scm3oh
  8. Date: Thu, 4 Apr 1996 12:04:59 GMT
  9. X-Nntp-Posting-Host: lanval.cs.cf.ac.uk
  10. Content-Transfer-Encoding: 7bit
  11. Content-Type: text/plain; charset=us-ascii
  12. Mime-Version: 1.0
  13. X-Mailer: Mozilla 2.0 (X11; I; SunOS 4.1.3_U1 sun4m)
  14. Organization: Prifysgol Cymru (University of Wales)
  15.  
  16. I'm getting this error everytime I try to access a structure element in
  17. a Linked List. I'm using e.g. listpointer = listpointer -> link 
  18. but it doesn't seem to like it! Any ideas?
  19.  
  20. warning: assignment type mismatch:
  21.         pointer to struct {int dataitem, pointer to struct listelement
  22. {..} link} "=" pointer to struct listelement {}
  23.  
  24.  
  25. Thanks
  26.  
  27. Owain Huw
  28. O.Huw@cs.cf.ac.uk
  29.